/* 
 * @company: BlueInsight
 * @author: lxs
 * @date: 2018年10月4日
 */
package com.cedar.model.Facade;

/**
 * @FileName: 
 * @author: lxs
 * @date: 2018年10月4日
 * @Description: 
 */
public class Computer {
    private CPU cpu;
    private Memory memory;
    private Disk disk;
    public Computer() {
        this.cpu = new CPU();
        this.memory = new Memory();
        this.disk = new Disk();
    }
    public void computerStarup() {
        cpu.startup();
        memory.startup();
        disk.startup();
    }
    
    public void computerShutdown() {
        cpu.shutdown();
        memory.shutdown();
        disk.shutdown();
    }
}
